package cn.ac.iscas.domain.source;

/**
 * @author LJian
 * @version 1.0
 * @description: TODO
 * @date 2022/6/17 17:30
 */
public class SourceColumn {
    protected String name;
    protected String type;
    protected boolean isPrimaryKey;
    protected Object defaultVal;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean isPrimaryKey() {
        return isPrimaryKey;
    }

    public void setPrimaryKey(boolean primaryKey) {
        isPrimaryKey = primaryKey;
    }

    public Object getDefaultVal() {
        return defaultVal;
    }

    public void setDefaultVal(Object defaultVal) {
        this.defaultVal = defaultVal;
    }
}
